﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ShopEnzi.Data.Entities
{
    public class Product : NH.Beng.Entity.Entity<Product>
    {
        private IList<ProductImage> _Images = new List<ProductImage>();
        private IList<Category> _Categories = new List<Category>();
        private IList<ProductPrice> _Prices = new List<ProductPrice>();

        public virtual IList<ProductPrice> Prices
        {
            get { return _Prices; }
            set { _Prices = value; }
        }

        public virtual IList<Category> Categories
        {
            get { return _Categories; }
            set { _Categories = value; }
        }

        public virtual IList<ProductImage> Images
        {
            get { return _Images; }
            set { _Images = value; }
        }

        public virtual string FirmProductId { get; set; }
        public virtual string ProductUrl { get; set; }
        public virtual string Title { get; set; }
        public virtual string ShortTitle { get; set; }
        public virtual string City { get; set; }


        public virtual string Description1 { get; set; }
        public virtual string Description2 { get; set; }
        public virtual string Description3 { get; set; }
        public virtual Firm Firm { get; set; }
        public virtual string ModelName { get; set; }

    }
}
